import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

  const routes = [
  {
    path: '/index',
    name: 'index',
    component: () => import(/* webpackChunkName: "about" */ '../views/index.vue'),
    meta:{
      title:'乌鲁木齐经济技术开发区'
    }
  },
  {
    path: '/index3',
    name: 'index3',
    component: () => import(/* webpackChunkName: "about" */ '../views/index3.vue'),
    meta:{
      title:'乌鲁木齐经济技术开发区'
    }
  },
  {
    path: '/',
    name: 'index4',
    component: () => import(/* webpackChunkName: "about" */ '../views/index4.vue'),
    meta:{
      title:'乌鲁木齐经济技术开发区'
    }
  },
  {
    path: '/index1',
    name: 'index1',
    component: () => import(/* webpackChunkName: "about" */ '../views/index1.vue'),
    meta:{
      title:'乌鲁木齐经济技术开发区'
    }
  },
  {
    path: '/detail',
    name: 'detail',
    component: () => import(/* webpackChunkName: "about" */ '../views/detail.vue'),
    meta:{
      title:'介绍'
    }
  },
  {
    path: '/detail2',
    name: 'detail2',
    component: () => import(/* webpackChunkName: "about" */ '../views/detail2.vue'),
    meta:{
      title:'投资指南'
    }
  },
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
